home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 97 / CD-ROM 97 / CD-ROM 97.iso / internet / ghostzilla / ghsetup.exe / chrome / comm.jar / content / communicator / pref / pref-scripts.xul < prev    next >
Encoding:
Extensible Markup Language  |  2002-04-12  |  4.0 KB  |  80 lines

  1. <?xml version="1.0"?><!-- -*- Mode: HTML -*- -->
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Mozilla.org Code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Doron Rosenberg.
  19.    - Portions created by the Initial Developer are Copyright (C) 2001
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s):
  23.    -
  24.    - Alternatively, the contents of this file may be used under the terms of
  25.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  26.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.    - in which case the provisions of the GPL or the LGPL are applicable instead
  28.    - of those above. If you wish to allow use of your version of this file only
  29.    - under the terms of either the GPL or the LGPL, and not to allow others to
  30.    - use your version of this file under the terms of the MPL, indicate your
  31.    - decision by deleting the provisions above and replace them with the notice
  32.    - and other provisions required by the LGPL or the GPL. If you do not delete
  33.    - the provisions above, a recipient may use your version of this file under
  34.    - the terms of any one of the MPL, the GPL or the LGPL.
  35.    -
  36.    - ***** END LICENSE BLOCK ***** -->
  37.  
  38. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  39. <?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
  40.  
  41. <!DOCTYPE window [
  42. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  43. %brandDTD;
  44. <!ENTITY % prefScriptsDTD SYSTEM "chrome://communicator/locale/pref/pref-scripts.dtd" >
  45. %prefScriptsDTD;
  46. ]>
  47.  
  48. <page id="scriptsAndWindowPanel" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  49.       onload="parent.initPanel('chrome://communicator/content/pref/pref-scripts.xul');"
  50.       headertitle="&lHeader;">
  51.   <script type="application/x-javascript" src="chrome://communicator/content/pref/pref-scripts.js"/>
  52.   <script type="application/x-javascript">
  53.     <![CDATA[
  54.       var panel = "chrome://communicator/content/pref/pref-scripts.xul";
  55.       var _elementIDs = ["javascriptAllowNavigator", "allowWindowOpen", "allowWindowMoveResize", "allowWindowFlip", "allowWindowStatusChange", "allowImageSrcChange", "allowDocumentCookieSet", "allowDocumentCookieGet","allowTargetNew"];
  56.     ]]>
  57.   </script>
  58.  
  59.   <label value="&enableJavaScript.label;"/> 
  60.  
  61.   <checkbox id="javascriptAllowNavigator" label="&navigator.label;" accesskey="&navigator.accesskey;"
  62.                 pref="true" preftype="bool" prefstring="javascript.enabled"
  63.                 prefattribute="checked" oncommand="javascriptEnabledChange();"/>
  64.  
  65.   <separator/>
  66.   
  67.   <label id="allowScripts" value="&allowScripts.label;"/>
  68.  
  69.   <listbox id="AllowList">
  70.     <listitem type="checkbox" id="allowWindowOpen" label="&allowWindowOpen.label;"/>
  71.     <listitem type="checkbox" id="allowTargetNew" label="&allowTargetNew.label;"/>
  72.     <listitem type="checkbox" id="allowWindowMoveResize" label="&allowWindowMoveResize.label;"/>          
  73.     <listitem type="checkbox" id="allowWindowFlip" label="&allowWindowFlip.label;"/>          
  74.     <listitem type="checkbox" id="allowWindowStatusChange" label="&allowWindowStatusChange.label;"/>   
  75.     <listitem type="checkbox" id="allowImageSrcChange" label="&allowWindowImageSrcChange.label;"/>     
  76.     <listitem type="checkbox" id="allowDocumentCookieSet" label="&allowDocumentCookieSet.label;"/>          
  77.     <listitem type="checkbox" id="allowDocumentCookieGet" label="&allowDocumentCookieGet.label;"/>          
  78.   </listbox>
  79. </page>
  80.